#pragma once
enum HTTP_CLOSE_STATUS
{
	RE_SUCCESS = 0,

	RE_CLIENTCLOSED = 10, // 客户端关闭了连接
	RE_SENDCOMPLETE, // 发送完成
	RE_SEND_TIMEO,
	RE_RECV_TIMEO,
	RE_SESSION_TIMEO,
	RE_BADREQUEST,

	RE_FCGI_SERVERERROR = 20,
	RE_FCGI_CONNECT_FAILED,
	RE_FCGI_SEND_FAILED,
	RE_FCGI_RECV_FAILED,
	RE_FCGI_RECV_TIMEO,
	RE_FCGI_SEND_TIMEO,
	RE_FCGI_ABORT,

	RE_NETWORK_FAILED = 50,
	RE_INTERNAL_ERROR,

	RE_UNKNOWN = 999 // 未知.
};